refactor(ci): flatten workflow directory structure to top-level naming#31
Merged
Conversation
GitHub Actions does not support subdirectory paths for cross-repository reusable workflow references. Rename all workflows from subdirectories (common/, java/, python/, typescript/) to prefixed top-level names (e.g. typescript/lint.yml -> typescript-lint.yml) and update all internal references in ci.yml and tests/. Signed-off-by: Jimisola Laursen <jimisola@jimisola.com>
Merged
3 tasks
build-docs.yml and check-semantic-pr.yml are cross-cutting reusable workflows with no language-specific prefix. Rename to common-build-docs and common-check-semantic-pr for consistency with the flat naming convention. Signed-off-by: Jimisola Laursen <jimisola@jimisola.com>
This was referenced May 12, 2026
Merged
Merged
…and common-build-docs Signed-off-by: Jimisola Laursen <jimisola@jimisola.com>
After flattening all workflows to top level, the **/*.yml glob no longer matches anything and causes actionlint to error with 'no such file or directory'. Signed-off-by: Jimisola Laursen <jimisola@jimisola.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
GitHub Actions does not support subdirectory paths for cross-repository reusable workflow references (actions/runner#2102). This causes the error:
Rename all 20 reusable workflows from subdirectories to prefixed top-level names and update all internal references.
Renamed files
common/check-release.ymlcommon-check-release.ymlcommon/publish-to-docker.ymlcommon-publish-to-docker.ymlcommon/publish-to-github-pages.ymlcommon-publish-to-github-pages.ymlcommon/release-preview.ymlcommon-release-preview.ymlcommon/release.ymlcommon-release.ymljava/build-gradle.ymljava-build-gradle.ymljava/build-maven.ymljava-build-maven.ymljava/lint.ymljava-lint.ymljava/publish-to-gradle.ymljava-publish-to-gradle.ymljava/publish-to-maven.ymljava-publish-to-maven.ymlpython/build-hatch.ymlpython-build-hatch.ymlpython/build-poetry.ymlpython-build-poetry.ymlpython/lint.ymlpython-lint.ymlpython/publish-to-python-test.ymlpython-publish-to-python-test.ymlpython/publish-to-python.ymlpython-publish-to-python.ymltypescript/build.ymltypescript-build.ymltypescript/lint.ymltypescript-lint.ymltypescript/publish-to-npm.ymltypescript-publish-to-npm.ymltypescript/publish-to-vscode.ymltypescript-publish-to-vscode.ymlTest plan